Skip to content

Conversation

@JulianVennen
Copy link
Member

@JulianVennen JulianVennen commented Jan 7, 2026

An empty where group currently generates the following SQL which causes a MYSQL syntax error:

SELECT * FROM `test` WHERE ()

This PR fixes that by not returning empty where groups from the Query class.

@matthi4s matthi4s merged commit 03031e5 into aternosorg:master Feb 3, 2026
3 checks passed
@JulianVennen JulianVennen deleted the fix-empty-where branch February 3, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants